package com.xxxy.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author sjh
 * @date 2022/2/2 15:23
 */
@Data
@TableName("es_teaching_class")
public class TeachingClass {

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "教学班级ID")
    private Integer id;

    @ApiModelProperty(value = "课程id")
    private Integer courseId;

    @ApiModelProperty(value = "教师账号")
    private String teacherAccount;

    @ApiModelProperty(value = "教学时间")
    private String time;

    @ApiModelProperty(value = "是否为行政班级上课(0=不是，1=是)")
    private Integer administrative;

    @ApiModelProperty(value = "如果为行政班级上课，则为班级id，否则为空")
    private Integer administrativeClass;
}
